package com.kenliang.netty.rpc.spring;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author KenLiang
 * @description:
 * @date Created in 3:13 PM 2019/3/16.
 */
public class NpcRpcNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        this.registerBeanDefinitionParser("service",new NettyRpcServiceParser());
        //这个是干什么的啊？
        this.registerBeanDefinitionParser("registry",null);
        this.registerBeanDefinitionParser("reference",new NettyRpcReferenceParser());
    }
}
